<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
     

    </style>
</head>
<body>
    <div>
        <img  src="img/1.png" alt="">
        <img  src="img/5.png" alt="">
        :
        <img  src="img/0.png" alt="">
        <img  src="img/1.png" alt="">
        :
        <img src="img/1.png" alt="">
        <img src="img/9.png" alt="">
    </div>
</body>
</html>

<script>

window.onload = function(){
    showTime();
}


function showTime(){
    setInterval(function(){
        var d = new Date();
        var arr =[
            parseInt(d.getHours()/10),   
            d.getHours()%10,
            parseInt(d.getMinutes()/10),
            d.getMinutes()%10,
            parseInt(d.getSeconds()/10),
            d.getSeconds()%10
        ];     
        var imgs = document.getElementsByTagName("img");
        for(var i=0;i<arr.length;i++){
            imgs[i].src = "img/"+arr[i]+".png";
        }

    },1000);
}


</script>